package com.example.hxds.workflow;
import com.codingapi.txlcn.tc.config.EnableDistributedTransaction;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
/**
 * @Author XUYANG
 * @Date 2024-04-10 15:00
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@ServletComponentScan
@MapperScan({"com.example.hxds.workflow.db.dao"})
@ComponentScan({"com.example.*"})
@EnableDistributedTransaction
public class HxdsWorkflowApplication {
    public static void main(String[] a) {
        System.out.println("#######################SUCCESS#######################");
        SpringApplication.run(com.example.hxds.workflow.HxdsWorkflowApplication.class, a);
    }
}
